package businessLogic;

import java.util.ArrayList;

import vo.GiftStrategyVO;
import vo.GiftVO;
import vo.MassPresentStrategyVO;
import enums.BLToViewResultMessage;
import businessLogicService.GiftBLService;

public class GiftController implements GiftBLService {

	@Override
	public ArrayList<GiftVO> getGiftList() {
		return new ArrayList<GiftVO>();
	}

	@Override
	public BLToViewResultMessage addGift(GiftVO gift) {
		if (gift != null) {
			return BLToViewResultMessage.ADD_GIFT_SUCCESS;
		}
		return null;
	}

	@Override
	public BLToViewResultMessage deleteGift(int giftID) {
		if (giftID > 0) {
			return BLToViewResultMessage.DELETE_GIFT_SUCCESS;
		}
		return null;
	}

	@Override
	public BLToViewResultMessage modifyGift(int giftID, GiftVO gift) {
		if (giftID > 0) {
			return BLToViewResultMessage.MODIFY_GIFT_SUCCESS;
		}
		return null;
	}

	@Override
	public BLToViewResultMessage present(int giftID, int memberID) {
		if (giftID > 0) {
			return BLToViewResultMessage.PRESENT_SUCCESS;
		}
		return null;
	}

	@Override
	public BLToViewResultMessage changeGiftStrategy(GiftStrategyVO giftStrategy) {
		if (giftStrategy != null) {
			return BLToViewResultMessage.CHANGE_GIFT_STRATEGY_SUCCESS;
		}
		return null;
	}

	@Override
	public BLToViewResultMessage massPresent(MassPresentStrategyVO mpStrategy) {
		if (mpStrategy != null) {
			return BLToViewResultMessage.MASS_PRESENT_SUCCESS;
		}
		return null;
	}

}
